package chapter02;

public class Test03_Cat {
    public static void main(String[] args) {
        //实例化类
        Cat c = new Cat();
        c.name = "小小";
        c.shout();
    }
}
class Cat{
    //属性
    String name;
    String color;
    String type;
    //方法
    void shout(){
        System.out.println(name+"喵喵喵");
    }
}
